-- GENERATED SPELL FOR [Talbuk Sire] --


function spell0_20777(pUnit, Event) --@Hoof Stomp,Self--
pUnit:FullCastSpellOnTarget(32023,pUnit)
pUnit:RegisterEvent('Sorts_20777', 3000, 1)
end

function Sorts_20777(pUnit, Event)
local choix_sorts_20777 = math.random(0, 0)
if choix_sorts_20777 == 0 then
pUnit:RegisterEvent('spell0_20777', 1, 1)
end
end

function mob20777_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20777', math.random(1500, 3000), 1)
end

function mob20777_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20777_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20777_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20777, 1, 'mob20777_Action')
RegisterUnitEvent(20777, 2, 'mob20777_Leave')
RegisterUnitEvent(20777, 3, 'mob20777_Kill')
RegisterUnitEvent(20777, 4, 'mob20777_Die')
